import 'package:get/get.dart';
import 'package:vischat/modules/home/socialize/chat/chat_controller.dart';
import 'package:vischat/modules/home/socialize/chat/message_send_controller.dart';
import 'package:vischat/modules/home/socialize/chat/widgets/message_input/message_input_controller.dart';
import 'package:vischat/modules/home/socialize/chat/widgets/message_item/message_item_controller.dart';
import 'package:vischat/modules/home/socialize/chat/widgets/message_options/message_options_controller.dart';

class ChatBinding extends Bindings {
  @override
  void dependencies() {
    Get.lazyPut(() => ChatController());
    Get.lazyPut(() => MessageSendController(Get.find()));
    Get.lazyPut(() => MessageItemController(Get.find(), Get.find()));
    Get.lazyPut(() => MessageOptionsController(Get.find()));
    Get.lazyPut(() => MessageInputController(Get.find()));
  }
}
